package com.guoyw.seata.storage.service;

import com.baomidou.mybatisplus.service.IService;
import com.guoyw.seata.common.dto.CommodityDTO;
import com.guoyw.seata.common.response.ObjectResponse;
import com.guoyw.seata.storage.entity.TStorage;

/**
 * author: guoyw
 * create: 2020-09-19 17:33
 **/

public interface ITStorageService extends IService<TStorage>{
  
  /**
   * 扣减库存
   */
  ObjectResponse decreaseStorage(CommodityDTO commodityDTO);
  
}
